//
//  GDataXMLNode+XHTML.h
//  XMLApp
//
//  Created by Nguyen .a.Hph on 3/4/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GDataXMLNode.h"

@class GDataXMLElement, GDataXMLDocument;

@interface GDataXMLNode (XHTML)
- (NSString *)innerXML;
- (NSString *)innerText;
- (GDataXMLNode *)nextSibling;
- (GDataXMLNode *)previousSibling;
- (GDataXMLNode *)parent;
- (NSString *)HTMLString;
- (NSString *)innerHTML;

@end

@interface GDataXMLElement (XHTML)

- (id)initWithHTMLString:(NSString *)str error:(NSError **)error;

@end

@interface GDataXMLDocument (XHTML)

- (id)initWithHTMLString:(NSString *)str options:(unsigned int)mask error:(NSError **)error;
- (id)initWithHTMLData:(NSData *)data options:(unsigned int)mask error:(NSError **)error;

@end
